<?php
namespace app\home\controller;
use \think\Validate;
use \think\captcha\Captcha;
use think\Session;

class Notice extends \think\Controller
{
    public function notice_list()
    {
        $notice_list = db('notice')->order('addtime desc')->paginate(4);
        $pageHtml = $notice_list->render();
        $this->assign('pageHtml',$pageHtml);
        $this->assign("notice_list",$notice_list);
    	return view('notice_list');
    }
}
